Optimal. Leaf size=95 \[ \frac{b x \left (c+d x^n\right )^{-1/n} \, _2F_1\left (1,\frac{1}{n};1+\frac{1}{n};-\frac{(b c-a d) x^n}{a \left (d x^n+c\right )}\right )}{a (b c-a d)}-\frac{d x \left (c+d x^n\right )^{-1/n}}{c (b c-a d)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0313336, antiderivative size = 95, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.08, Rules used = {382, 379} \[ \frac{b x \left (c+d x^n\right )^{-1/n} \, _2F_1\left (1,\frac{1}{n};1+\frac{1}{n};-\frac{(b c-a d) x^n}{a \left (d x^n+c\right )}\right )}{a (b c-a d)}-\frac{d x \left (c+d x^n\right )^{-1/n}}{c (b c-a d)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 382
Rule 379
Rubi steps
\begin{align*} \int \frac{\left (c+d x^n\right )^{-1-\frac{1}{n}}}{a+b x^n} \, dx &=-\frac{d x \left (c+d x^n\right )^{-1/n}}{c (b c-a d)}+\frac{b \int \frac{\left (c+d x^n\right )^{-1/n}}{a+b x^n} \, dx}{b c-a d}\\ &=-\frac{d x \left (c+d x^n\right )^{-1/n}}{c (b c-a d)}+\frac{b x \left (c+d x^n\right )^{-1/n} \, _2F_1\left (1,\frac{1}{n};1+\frac{1}{n};-\frac{(b c-a d) x^n}{a \left (c+d x^n\right )}\right )}{a (b c-a d)}\\ \end{align*}
Mathematica [C] time = 6.44092, size = 153, normalized size = 1.61 \[ \frac{x \left (c+d x^n\right )^{-\frac{n+1}{n}} \left (\frac{b n x^{2 n} (a d-b c) \, _2F_1\left (2,2+\frac{1}{n};3+\frac{1}{n};\frac{(a d-b c) x^n}{a \left (d x^n+c\right )}\right )}{a^2 (2 n+1) \left (c+d x^n\right )}+\frac{b x^n \Phi \left (\frac{(a d-b c) x^n}{a \left (d x^n+c\right )},1,1+\frac{1}{n}\right )}{a}+\frac{a \left (c+d x^n\right )}{c \left (a+b x^n\right )}\right )}{a} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.696, size = 0, normalized size = 0. \begin{align*} \int{\frac{1}{a+b{x}^{n}} \left ( c+d{x}^{n} \right ) ^{-1-{n}^{-1}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (d x^{n} + c\right )}^{-\frac{1}{n} - 1}}{b x^{n} + a}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{1}{{\left (b x^{n} + a\right )}{\left (d x^{n} + c\right )}^{\frac{n + 1}{n}}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (d x^{n} + c\right )}^{-\frac{1}{n} - 1}}{b x^{n} + a}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]